package cn.zero.feign;

import cn.zero.domain.Result;
import cn.zero.domain.Store;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("store-server")
public interface StoreFeignClient {

    @PostMapping("/store/save")
    Result save(@RequestBody Store store);

}
